package com.antilia.infomaresme.data.dataobjects;

import java.util.Locale;

/**
 * 
 * @author Ernesto
 *
 */
public enum Language {
	
	en {
		@Override
		public Locale getLocale() {
			return Locale.US;
		}
	},
	es {
		@Override
		public Locale getLocale() {
			return ES;
		}
	},
	cat {
		@Override
		public Locale getLocale() {
			return CAT;
		}
	};
	
	
	private static Locale ES = new Locale("es", "ES");
	private static Locale CAT = new Locale("es", "CAT");
	
	private Language() {
	}

	public abstract Locale getLocale();
}
